package smashedapples.core
{
	import mx.binding.utils.BindingUtils;
	import mx.binding.utils.ChangeWatcher;
	import mx.events.FlexEvent;
	
	public class Watcher extends NonVisualComponent
	{
		public function Watcher()
		{
		}
		
		
		
		public var source:String;
		
		public var destination:Object;
		
		[Inspectable(enumeration="true,false",defaultValue="false")]
		public var commitOnly:Boolean = false;
		
		public var handler:Function;
		
		public var arguments:Array = [];
		
		[Inspectable(enumeration="true,false",defaultValue="false")]
		public var twoWay:Boolean = false;

	}
}